package pojo;

import java.io.Serializable;

public class Student implements Serializable {
	private String sname, sex, telephone, qq, wechat, enterdate, fromcity,
			birthday, address, pass;
	private int gradeid, stuno;

	public Student(String sname, String sex, String telephone, String qq,
			String wechat, String enterdate, String fromcity, String birthday,
			String address, String pass, int gradeid) {
		super();
		this.sname = sname;
		this.sex = sex;
		this.telephone = telephone;
		this.qq = qq;
		this.wechat = wechat;
		this.enterdate = enterdate;
		this.fromcity = fromcity;
		this.birthday = birthday;
		this.address = address;
		this.pass = pass;
		this.gradeid = gradeid;
	}

	public Student(String sname, String sex, String telephone, String qq,
			String wechat, String enterdate, String fromcity, String birthday,
			String address, String pass, int gradeid, int stuno) {
		super();
		this.sname = sname;
		this.sex = sex;
		this.telephone = telephone;
		this.qq = qq;
		this.wechat = wechat;
		this.enterdate = enterdate;
		this.fromcity = fromcity;
		this.birthday = birthday;
		this.address = address;
		this.pass = pass;
		this.gradeid = gradeid;
		this.stuno = stuno;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public String getEnterdate() {
		return enterdate;
	}

	public void setEnterdate(String enterdate) {
		this.enterdate = enterdate;
	}

	public String getFromcity() {
		return fromcity;
	}

	public void setFromcity(String fromcity) {
		this.fromcity = fromcity;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public int getGradeid() {
		return gradeid;
	}

	public void setGradeid(int gradeid) {
		this.gradeid = gradeid;
	}

	@Override
	public String toString() {
		return "Student [sname=" + sname + ", sex=" + sex + ", telephone="
				+ telephone + ", qq=" + qq + ", wechat=" + wechat
				+ ", enterdate=" + enterdate + ", fromcity=" + fromcity
				+ ", birthday=" + birthday + ", address=" + address + ", pass="
				+ pass + ", stuno=" + stuno + ", gradeid=" + gradeid + "]";
	}

	public Student() {
	}

	public String getSname() {
		return sname;
	}

	public Student(String sname, String sex, String telephone, String qq,
			int stuno) {
		super();
		this.sname = sname;
		this.sex = sex;
		this.telephone = telephone;
		this.qq = qq;
		this.stuno = stuno;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public int getStuno() {
		return stuno;
	}

	public void setStuno(int stuno) {
		this.stuno = stuno;
	}
}
